#ifndef Navigation_h
#define Navigation_h

#include "WProgram.h"
class Navigation
{
private:
	static const int earthsAvgRadiusInMiles = 3959;
	float totalMiles;

	double dtor(double fdegrees);
	double rtod(double fradians);
	
public:
	Navigation();
	long CalcDistance(double lat1, double lon1, double lat2, double lon2);
	int CalcBearing(double lat1, double lon1, double lat2, double lon2);
	void ComputeDestPoint(double lat1, double lon1, int iBear, int iDist, double *lat2, double *lon2);
	

};

#endif
